<?php

// A delegate to add auto-hide permissions to the role
// administration form.
function AutoHide_AddRolePermissionKeys($Role){
   $Role->AddPermission('PERMISSION_AUTO_HIDE');
   $Role->AddPermission('PERMISSION_MODERATE_AUTO_HIDES');
}
$Context->AddToDelegate('Role','DefineRolePermissions',
        'AutoHide_AddRolePermissionKeys');

?>
